#include <geoip.h>

#include <stdio.h>

char *license="G9c7faG7akk7";

int main(int argc, char **argv)
{
	float lat, lon;
	init_geoip();

	getLatLongByIpWeb("192.160.50.1", license, &lat, &lon);

	printf("%.06f, %.06f\n", lat, lon);

	close_geoip();
}
